package com.adcc.eoss.efb.ngctrl.Service;

import com.adcc.eoss.efb.ngctrl.model.Nginx;

import java.io.IOException;
import java.util.List;

public interface ICmdService {

    public void stop(String pid) throws IOException;

    public String getConf(String pid) throws IOException;

    public String getNgPath(String pid) throws IOException;

    public void start(String path,String conf) throws IOException;

    public String examConf(String path,String conf) throws IOException;

    public String getConfFilePath(String pid) throws IOException;

    public List<Nginx> getNgList();

}
